
public class BlockLocation 
{
	private int x;
	private int y;
	public BlockLocation(int x, int y)
	{
		this.x = x;
		this.y = y;
	}
	public int getX()
	{
		return x;
	}
	public int getY()
	{
		return y;
	}
	@Override
	public boolean equals(Object obj) {
		if (((BlockLocation) obj).x != this.x &&((BlockLocation) obj).y != this.y)
		{
			return false;
		}
		return true;
	}
	@Override
	public int hashCode() {
		return x ^ y;
	}
	@Override
	public String toString() {
		return ("x: " + x + " y: " + y);
	}
	
}
